xend: pci.py: fix open file descriptor leak
authorKouya Shimura <kouya@jp.fujitsu.com>
Thu, 20 Jan 2011 16:41:23 +0000 (16:41 +0000)
committerKouya Shimura <kouya@jp.fujitsu.com>
Thu, 20 Jan 2011 16:41:23 +0000 (16:41 +0000)
commitc398531ffaf46fb275782f0935a332094a17a030
treebcdfef16a001afc36acc3efa2a2c45f3120d59ca
parent1da4ffed6fc715d2593f96925ecb98773b1de8df
xend: pci.py: fix open file descriptor leak

I got the following error:
    $ xm pci-list-assignable-devices
    Error: [Errno 24] Too many open files

Signed-off-by: Kouya Shimura <kouya@jp.fujitsu.com>
tools/python/xen/util/pci.py